package com.lsu.app.service;

import com.lsu.app.bean.Vocabulary;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
 *
 * @description 针对表【vocabulary(分词器频率词)】的数据库操作Service
 * @Date 2023-11-13 19:48:25
 * @author hjj
 */

public interface VocabularyService extends IService<Vocabulary> {
    void insertData(Integer sendId,Integer courseId, Set<String> words);
    String[] getQuWordsByCourseId(Integer courseId);
    Integer getCountByCourseIdAndType(Integer courseId,Integer type);
    List<Integer> getUserIdByWord(String word,Integer courseId);
    List<Integer> getCourseIdByWord(String word);
    List<Vocabulary> getVocasByCourseIds(Integer teacherId);
}
